package com.easthome.exception;

/**
 * @author cxiaoy
 * @Date 2022/10/13 13:55
 */
public class Demo01 {
    public static void main(String[] args) {
        int a = 9;

        if(a==9){
            throw new Exception01("风险等级较高");
        }

        //int x = 5/0;//上面的代码等同于这行，这行是jvm帮我们抛了一个异常
    }
}
